<!DOCTYPE html>
<html>
<head>
    <title>流水管理</title>
	<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <input type="text" class="form-control" v-model="q.keyWord" @keyup.enter="query" placeholder="uid,手机"
                   style="width: 150px;display:inline">
            <select id="combo2" class="combobox  form-control col-sm-5" style="width: 10%"
                    v-model="q.operateType"  @keyup.enter="query">
                <option value="" selected="selected">--全部--</option>
                <option value="2">BSC</option>
                <option value="3">Tron</option>
            </select>
            <select id="combo" class="combobox  form-control col-sm-5" style="width: 10%"  v-model="q.status"
                    @keyup.enter="query">
                <option value="" selected="selected">--全部--</option>
                <option value="0">未结算</option>
                <option value="1">已结算</option>
                <option value="2">待确认</option>
                <option value="3">异常</option>
                <option value="4">已退款</option>
            </select>
            <div class="form-group col-sm-2">
                <input type="text" readonly="true" style="width:40%"  class="form-control col-sm-4" v-model="q.startTime" id="createTime" @keyup.enter="query" placeholder="开始日期">
                <input type="text" readonly="true"  style="width:40%"  class="form-control col-sm-3" v-model="q.endTime" id="endTime" @keyup.enter="query" placeholder="结束日期">
            </div>
            <a class="btn btn-primary" @click="clear_s">清除开始</a>
            <a class="btn btn-primary" @click="clear_e">清除结束</a>
            <a class="btn btn-default" @click="query">查询</a>
            <a class="btn btn-primary" @click="withdraw(2)"><i class="fa fa-pencil-square-o"></i>&nbsp;提现</a>
            <a class="btn btn-primary" @click="back_"><i class="fa fa-pencil-square-o"></i>&nbsp;退款</a>
            <a class="btn btn-primary" @click="download"><i class="fa fa-pencil-square-o"></i>&nbsp;导出</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">退款原因</div>
                <div class="col-sm-10">
                    <textarea  cols="60" rows="5" class="body-textarea" v-model="reason" ></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="backReq" value="确定"/>
                &nbsp;&nbsp;  <input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>
<div id="Img" style="display: none;padding-left: 10px;padding-top: 10px;">
    <div style="width:100%;height:100%;display: flex;justify-content: center;align-items:center;">
        <img id="showImg" alt="" src="" style="max-width:100%;height:auto;object-fit:cover; ">
    </div>
</div>
<script src="${request.contextPath}/statics/js/modules/biz/withdrawUsdt.js?_${.now?long}"></script>
</body>
</html>